#ifndef HEIGHTMAP_H
#define HEIGHTMAP_H

namespace Ogre {
    class ManualObject;
};

/**
  * HeightMap is a class which loads a bitmap that, based on
  * greyscale value, determines height of some tile edge in a tile
  * grid.
  *
  * HeightMap will generate an Ogre manual object which can then be
  * attached to the scene.
  *
  * It is possible to fetch height based on requested coordinates.
  *
  * @author ivucica
  */

class HeightMap {
public:
    HeightMap();
    ~HeightMap();

   /**
     * \brief Get the height at position specified by x and y coordinates.
     */
    float getHeight(float x, float y) const { return 0; } // TODO (ivucica#2#): stub
    Ogre::ManualObject* getManualObject();
    void generateManualObject();
private:
    Ogre::ManualObject* mManualObject;
};

#endif
